package com.qfedu.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * --- 这有何难 ---
 * ƪ(˘⌣˘)ʃ
 *
 * @author 超级无敌张恒阳大王
 * @date 15/10/2025
 * @desc
 */
@TableName("sys_user")
@Data
public class Sys_user implements Serializable {
	@TableId(type = IdType.AUTO)
	private Integer id;
	private String username;
	@JsonIgnore
	private String password;
	private Integer deptId;
	private String position;
	private String phone;
	private String email;
	private String avatar;
	private Integer status;
	private String dept;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;
}
